The initial and final volumes and pressures are given in the problem. The final temperature is 45K higher than the initial temperature. Thus can be represented as +45. Equation (1) then reduces to
Solving equation (2) for T gives the original temperature of the gas.